package com.hmdp.utils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 36000L;
    public static final String USER_NICK_NAME="UserName:";
    public static final Long CACHE_NULL_TTL = 2L;

    public static final Long CACHE_SHOP_TTL = 30L;
    public static final String CACHE_SHOP_KEY = "cache:shop:";
    public static final String SHOP_ID="shop:id:";
    public static final String SHOP_TiME_ID="shop:time:id:";
    public static  final String SHOP_LOCK="shop:lock:";
    public static final Long SHOP_LOCK_TTL = 10L;
    public static final String SHOP_TYPE_KEY="shop:type:";
    public static final String SECKILL_STOCK_KEY = "seckill:stock:";
    public static final String BLOG_LIKED_KEY = "blog:liked:";
    public static final String FEED_KEY = "feed:";
    public static final String SHOP_GEO_KEY = "shop:geo:";
    public static final String USER_SIGN_KEY = "sign:";

    public static final String SKILL_VOUCHER_ID="skill:voucher:stock:id:";
    public static final String SKILL_VOUCHER_ORDER_ID="skill:voucher:order:id:";

    public static final String BLOG_LIKED_ID= "blog:liked:";

    public static final String GEO_SHOP_TYPE_ID = "geo:shop:type:id:";
}
